﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace BasicComponents.model
{
    public class ComboItemsResources : ICloneable, INotifyPropertyChanged
    {
        String dm = "";
        String mc = "";
        String dmmc = "";

        public string Dm { get => dm; set
            {
                dm = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs("Dm"));
                }
            }
        }
        public string Mc { get => mc; set
            {
                mc = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs("Mc"));
                }
            }
        }
        public string Dmmc { get => dmmc; set
            {
                dmmc = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs("Dmmc"));
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;

        public object Clone()
        {
           return this.MemberwiseClone();
        }
    }
}
